Copyright 1988 by Sam Thornton, PO Box 123, Fairfield NE 68938
Some portions Copyright by Symantec and Apple.
May be copied and distributed for personal use without charge only, except for nominal distribution fees. For commercial use or distribution, contact the author.
Provided as a RESEDIT file. Use RESEDIT or any other resource copying utility to install into HyperCard. Install in Home stack for universal access.
As its name implies, this is an implementation of the Macintosh MaxApplZone Toolbox function.
Returns the number of K-bytes free in the application heap or compacts the application heap and returns the resulting number of K-bytes free.
NOTE that the total number of bytes free in the application heap is seldom (if ever) the actual number of bytes available for use. Usually there are several K-bytes unavailable due to heap fragmentation. But, this function will give you a rough idea of where you stand with regard to available memory.
Syntax:
get MaxApplZone( )
returns the number of K-bytes free in the application
heap
get MaxApplZone(<any parameter>)
compacts the application heap and returns the number of